package com.huosu.commons.document;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 基础数据类
 *
 * @author Jiaju Zhuang
 **/
@Data
@ContentRowHeight(20)
@HeadRowHeight(30)
@ColumnWidth(40)
public class DownloadData {

    @ExcelProperty({"IP地址"})
    @ApiModelProperty(value = "IP")
    private String ip;

    @ExcelProperty({"挖矿地址1"})
    @ApiModelProperty(value = "pool1")
    private String pool1;

    @ExcelProperty({"矿工名1"})
    @ApiModelProperty(value = "miner1")
    private String miner1;

    @ExcelProperty({"挖矿地址2"})
    @ApiModelProperty(value = "pool2")
    private String pool2;

    @ExcelProperty({"矿工名2"})
    @ApiModelProperty(value = "miner2")
    private String miner2;

    @ExcelProperty({"挖矿地址3"})
    @ApiModelProperty(value = "pool3")
    private String pool3;

    @ExcelProperty({"矿工名3"})
    @ApiModelProperty(value = "miner3")
    private String miner3;

    @ExcelProperty({"防护状态：0已开启；1未开启"})
    @ApiModelProperty(value = "switchFlg")
    private Integer switchFlg;

}
